import './dlg-content.css';


export class Content extends HTMLElement{
  constructor(){
    super();
      this.#init();
//      this.contentPass = this.$content.value;
//      this.getContent.bind(this);
      //this.#$btn.onclick = this.getContent.bind(this);
  }
  #init(){
    this.innerHTML = this.#html;
    this.$ = this.querySelector;
    this.#$body = document.body;
    this.$content = this.$('.content');
//    this.#$btn = this.$('.btn');
  }
//getContent(){
//  console.log(this.$content.value);
//  return this.$content.value;
//}
  #$body = null;
  $content = null;
  #$btn = null;
  contentPass = null;

#html = ''
  //+'<input type="text" class="content" autofocus="autofocus">'
  +'<textarea wrap="off" class="content" autofocus="autofocus" ></textarea>'
  //+'<button class="btn">拿值</button>'
}
//export  this.$content;
